<?php
session_start();

ini_set('display_errors',1);
ini_set('include_path', ini_get('include_path'));

require_once '../../../serverResources/includes/db/ConnDBUser.php';
require_once '../../../serverResources/includes/classes/Group.php';
require_once '../../../serverResources/includes/classes/GroupElements.php';
require_once '../../../serverResources/includes/classes/Affiliation.php';
include_once '../others/refreshSessionTime.php';
if($_POST['random']==1){

	$gpElem=new GroupElements('', '', '', '', '');
	$result=$gpElem->randomGroups($_SESSION['projectID']);
	unset($gpElem);
	echo $result;

}


